package br.com.ss.centralaamar.model.entity;

import static javax.persistence.GenerationType.IDENTITY;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "sabado", catalog = "centralaamar")
public class Sabado implements Serializable{

	private static final long serialVersionUID = -8386852683843818049L;
	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "saba_id", unique = true, nullable = false)
	private Integer id;
	
	@Column(name = "data", unique = true, nullable = false)
	private Date data;
	
	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getData() {
		return data;
	}

	public void setData(Date data) {
		this.data = data;
	}

}
